home *** CD-ROM | disk | FTP | other *** search
- Path: nic.wi.leidenuniv.nl!jvermeul
- From: jvermeul@wi.leidenuniv.nl (J.T.Vermeulen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: SAS/C 6.56 bug?
- Date: 22 Mar 1996 17:19:55 GMT
- Organization: Mathematics & Computer Science, Leiden University, Leiden, the Netherlands
- Message-ID: <4iunfr$laf@nic.wi.leidenuniv.nl>
- References: <DA0E86A1@infoservice.it>
- NNTP-Posting-Host: ind302gc.wi.leidenuniv.nl
-
- In article <DA0E86A1@infoservice.it>,
- Paolo Menichetti <ik34p2m@infoservice.it> wrote:
- >Hi,
- >
- >I think that SAS/C compiler have a bug in the SC command. I've installed
- >VMM and when I try to compile with ERRORCONSOLE active (I use KingCon),
- >the SC program run in stack overflow (StackMon show 1.6MB of stack used!).
- >When I compile with NOERRORCONSOLE, it works fine. I run the compiler
- >with the Build icon from Workbench.
- >
- >Solutions?
-
- No solution because there is no problem.
-
- SAS/C probably uses stack extension internally; if there is not enough
- stack it does a StackSwap() and StackMon cannot track this. It just
- compares the stack pointer to the process stack bottom, not to the current
- stack. Of course the difference between the original location of the
- process stack and the newly allocated stack can be just about anything,
- so StackMon reports garbage.
-
- Doug, am I right?
-
-
- >Serialmente BY(T)E! Paolo.Menichetti@infoservice.it 2:332/118.13@fidonet
- >Paolo Menichetti menichetti@nikita.nervous.com 39:102/201.13@amiganet
-
- Jeroen
-
- --
- ============================================================================
- # Jeroen T. Vermeulen \"How are we doing kid?"/ Yes, we use Amigas. #
- #--- jtv@xs4all.nl ---\"Oh, same as always."/-- ... --#
- #jvermeul@wi.leidenuniv.nl \ "That bad, huh?" / Got a problem with that? #
-